package com.oocl.aeat.service.factory;

import com.oocl.aeat.service.SysUserService;
import com.oocl.aeat.service.impl.SysUserServiceImpl;
import com.oocl.aeat.tx.TxProxy;
/**
 * 添加事务
 * @author GANAB
 *
 */
public class SysUserServiceFactory {
	private static SysUserService sysUserService;

	private SysUserServiceFactory() {
		
	}
	
	public static SysUserService getInstance(){
		if(sysUserService==null){
			sysUserService = new SysUserServiceImpl();
			sysUserService = (SysUserService)TxProxy.factory(sysUserService);
		}
		return sysUserService;
	}
}
